package com.andkrup.easygame.ui {
	import flash.display.DisplayObject;	
	
	import com.andkrup.easygame.game.objects.map.IMap;	
	
	import flash.geom.Point;	
	import flash.events.IEventDispatcher;	
	
	/**
	 * @author Andkrup
	 */
	public interface IViewPort extends IEventDispatcher{
		function setSize(width:Number, height:Number):void;
		function addMap(map:IMap):void;
		function addWorldObject(object:Object, position:Point):void;
		function addCharacterSprite(sprite:DisplayObject, position:Point = null):void;
		function moveTo(p:Point):void;
	}
}
